123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>청구관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptlst>
- <item>
- <sel/>
- <pid/>
- <hngnm/>
- <orddd/>
- <rsrvdd/>
- <rsrvno/>
- <insutrgtflag/>
- <dgflag/>
- <insuid/>
- <rrgstno/>
- <telno/>
- <mpphon/>
- <email/>
- <munflg/>
- <rsltflg/>
- <panflg/>
- </item>
- </acptlst>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchinstcd/>
- <srchbizyear/>
- <srchonetwotype/>
- <srchasktype/>
- <srchcmpycd/>
- <srchcmpynm/>
- <indata/>
- <srchreqflag/>
- <srchreqdetlflag/>
- <srchreqtatm/>
- <srchreqpatm/>
- <srchreqbatm/>
- <srchreqcatm/>
- </send>
- <init>
- <baseinfo>
- <hedetlflaglst/>
- <asktype/>
- </baseinfo>
- </init>
- <temp/>
- <temp2/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
-
- fInitCtrl(true);
- ]]>
- </script>
- <submission id="TRZBC00101" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRAHR00604" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/acptlst"/>
- <submission id="TRAHR00605" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
- <submission id="TRAHR00606" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
- <submission id="TRAHR00607" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp2"/>
- <submission id="TRAHR00608" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp3"/>
- <submission id="TRAHR00609" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp4"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA010.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- function fGetBaseInfo(){
- var healexamfg = fGetHealExamFlag();
-
- zbcfGetCodeList( new Array( "A0070","A0108"),
- new Array("/root/init/baseinfo/hedetlflaglst"
- ,"/root/init/baseinfo/asktype"
- ) );
- submit("TRZBC00101");
- model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd") );
- model.setValue("/root/send/srchhealexamflag", healexamfg);
- }
-
- /**===================================================================================
- *대상자 가져오기
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- =====================================================================================*/
-
- function fGetRsltPatList(){
- openLoadingBar("건진자 대상 리스트를 가져오는 중 입니다..") ;//처리중 화면을 오픈한다.
- model.removeNodeset(grd_acptlst.nodeset);
-
- model.setValue("/root/send/srchinstcd" , getUserInfo("posinstcd") );
- model.setValue("/root/send/srchhealexamflag", "G");
- if(model.getValue("/root/send/srchreqflag") == 'T'){
- model.setValue("/root/send/srchhealexamdetlflag", "G01");
- }
-
- submit("TRAHR00604");
-
- if(model.getValue("/root/send/srchreqflag") == "T"){
- reqdaydeltno1.value = "11100338_901T_0111_090226_01";
- reqdaydeltno2.value = "11100338_901T_0111_090226_99";
- }
- closeLoadingBar() ;//처리중 화면을 close한다.
- model.refresh();
- }
-
- function fExeAskFile(){
- openLoadingBar("처리중 입니다..") ;//처리중 화면을 오픈한다.
- // 파일명 가져오기
- submit("TRAHR00606");
- model.setValue("/root/send/indata", grd_acptlst.getUpdateData("update"));
- var filenm = model.getValue("/root/temp/item/filename");
- var file = window.fileDialog("save",",",false, filenm,"txt","Text Files(*.txt)|*.txt|All Files (*.*)|*.*");
- // 건강검진비 청구서/추가지급 청구서
- model.makeNode("/root/send/filenm");
- model.setValue("/root/send/filenm", filenm);
- // alert(model.getValue("/root/send/filenm"));
- // submit("TRAHR00609");
- //1차건진자
- submit("TRAHR00605");
- //2차건진자
- submit("TRAHR00607");
- //문진표
- submit("TRAHR00608");
-
- var nodeList = instance1.selectNodes(grd_acptlst.nodeset + "[sel='Y']");
- for( var i = 0 ; i <= nodeList.length ; i++){
- copyNodeListType("/root/temp", "/root/temp2/item["+ i +"]", "after");
- }
-
- for( var i = 0 ; i <= nodeList.length ; i++){
- copyNodeListType("/root/temp", "/root/temp3/item["+ i +"]", "after");
- }
-
- model.refresh();
-
- if (file != "")
- {
- grd_hidden.saveText(file);
- }
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
-
- function fInitCtrl(bAll){
- if( bAll == true ){
- var curDt = getCurrentDate();
- model.setValue(ipt_rsvfrdd.attribute("ref") , curDt);
- model.setValue(ipt_rsvtodd.attribute("ref") , curDt);
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">청구관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:100px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:100px; "/>
- <caption id="caption7" class="search_name" style="left:635px; top:10px; width:94px; height:17px; ">1/2차구분 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1044px; top:19px; width:56px; height:22px; ">
- <caption>실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeAskFile();
- ]]>
- </script>
- </button>
- <select1 id="combo3" ref="/root/send/srchreqdetlflag" class="combo_search" appearance="minimal" style="left:460px; top:10px; width:139px; height:19px; ">
- <choices>
- <item>
- <label>일반건강검진</label>
- <value>1</value>
- </item>
- <item>
- <label>생애건강진단</label>
- <value>2</value>
- </item>
- <item>
- <label>일반의료급여</label>
- <value>3</value>
- </item>
- <item>
- <label>생애의료급여</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <line id="line1" class="line_4" style="x1:1028px; y1:8px; x2:1028px; y2:93px; "/>
- <caption id="caption10" class="search_name" style="left:15px; top:40px; width:91px; height:17px; ">건진일자 :</caption>
- <caption id="caption11" class="search_n_b" style="left:220px; top:40px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <caption id="caption14" class="search_name" style="left:365px; top:10px; width:95px; height:17px; ">건진구분2 :</caption>
- <caption id="caption4" class="search_name" style="left:365px; top:40px; width:86px; height:17px; ">사업장 :</caption>
- <select1 id="combo2" ref="/root/send/srchonetwotype" class="combo_search" appearance="minimal" style="left:730px; top:10px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_selcmpy" class="icon_search" style="left:545px; top:40px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHA00400", "08" , "nm", ipt_srchcmpycd.currentText ,ipt_srchcmpycd.attribute("ref"), opt_srchcmpynm.attribute("ref"));
- ]]>
- </script>
- </button>
- <input id="ipt_srchcmpycd" ref="/root/send/srchcmpycd" class="input_search" style="left:460px; top:40px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selcmpy", "DOMActivate");
- ]]>
- </script>
- </input>
- <output id="opt_srchcmpynm" ref="/root/send/srchcmpynm" class="output_fix" style="left:570px; top:40px; width:140px; height:19px; "/>
- <button id="button2" class="btn1_letter2" style="left:1109px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //xforms-ready 값으로 초기화
- model.reset("/root/send");
- fGetRsltPatList();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:15px; top:10px; width:98px; height:17px; ">건진구분1 :</caption>
- <select1 id="rdo_srchcond" ref="/root/send/srchreqflag" class="radio_search" overflow="visible" appearance="full" cols="3" cellspacing="5" style="left:110px; top:10px; width:210px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>공단건진</label>
- <value>T</value>
- </item>
- <item>
- <label>암건진</label>
- <value>C</value>
- </item>
- <item>
- <label>구강건진</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:15px; top:70px; width:90px; height:17px; ">청구번호 :</caption>
- <output id="reqdaydeltno2" class="output_fix" style="left:330px; top:70px; width:200px; height:19px; "/>
- <caption id="caption5" class="search_n_b" style="left:315px; top:70px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- </group>
- <caption id="caption3" class="tit_2" style="left:5px; top:115px; width:111px; height:13px; ">건진대상자</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:135px; x2:1194px; y2:135px; "/>
- <datagrid id="grd_acptlst" nodeset="/root/main/acptlst/item" caption="^등록번호^성명^검진일자^예약일자^예약번호^1/2차구분^증번호^주민번호^전화번호^핸드폰번호^이메일^공단^개인^보건소^사업장|^등록번호^성명^검진일자^예약일자^예약번호^1/2차구분^증번호^주민번호^전화번호^핸드폰번호^이메일^공단^개인^보건소^사업장" colwidth="24, 89, 131, 142, 109, 100, 100, 0, 100, 0, 0, 0, 80, 80, 80, 80" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:140px; width:1194px; height:600px; ">
- <col ref="sel" type="checkbox" checkvalue="Y,N"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="orddd" format="yyyy-mm-dd" style="left:264px; top:23px; width:142px; height:23px; "/>
- <col ref="rsrvdd" format="yyyy-mm-dd" style="left:264px; top:23px; width:142px; height:23px; "/>
- <col ref="rsrvno"/>
- <col ref="dgflag"/>
- <col ref="insuid" visibility="hidden"/>
- <col ref="rrgstno"/>
- <col ref="telno" visibility="hidden"/>
- <col ref="mpphon" visibility="hidden"/>
- <col ref="email" visibility="hidden"/>
- <col ref="srchreqtatm"/>
- <col ref="srchreqpatm"/>
- <col ref="srchreqbatm"/>
- <col ref="srchreqcatm"/>
- </datagrid>
- <line id="line3" class="line_2" style="x1:0px; y1:184px; x2:1194px; y2:184px; "/>
- <input id="ipt_rsvfrdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:110px; top:50px; width:105px; height:19px; "/>
- <input id="ipt_rsvtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:235px; top:50px; width:100px; height:19px; "/>
- <datagrid id="grd_hidden" nodeset="/root/temp/item" visibility="hidden" caption="환자결과" colwidth="815" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:440px; width:1175px; height:85px; ">
- <col ref="rslt"/>
- </datagrid>
- <output id="reqdaydeltno1" class="output_fix" style="left:110px; top:80px; width:200px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|